package com.zrrd.learn.chapter01;

/**
 * 运算符
 *
 * @author wrn
 * @version 1.0
 * @date 2023/4/8 15:45
 */

public class LearnDataType03 {

    public static void main(String[] args) {
        int aint  = 23456;



        System.out.printf("23456的个数是%d\n",aint / 1 % 10);
        System.out.printf("23456的十数是%d\n",aint / 10 % 10);
        System.out.printf("23456的百数是%d\n",aint / 100 % 10 );
        System.out.printf("23456的千数是%d\n",aint / 1000 % 10);
        System.out.printf("23456的万数是%d\n",aint / 10000 % 10);


    }

}
